package com.jc.gateway;


import com.bawei.bargain.common.utils.JwtUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
public class JcGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(JcGatewayApplication.class);
    }


    @Bean
    public JwtUtil jwtUtil(){
        return new JwtUtil();
    }




}
